package com.soboot.system.controller;

import com.soboot.base.util.SecurityUtil;
import com.soboot.response.Result;
import com.soboot.system.biz.UserServiceBiz;
import com.soboot.system.service.ISysMenuService;
import com.soboot.system.vo.QueryMenuListVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author:
 * @createTime: 2022年11月17日 22:01:57
 * @version:
 * @Description:
 * @Copyright:
 */
@RestController
@RequestMapping("/users")
@Api(value="用户管理接口", tags = {"用户管理"})
public class UserController {

    @Autowired
    private UserServiceBiz userServiceBiz;

    @ApiOperation(value = "获取资源详细信息", notes = "根据url的id来获取资源详细信息")
    @GetMapping("/route")
    public Result getMenuById() {

        return Result.success(userServiceBiz.routes());
    }
}
